projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d65ba7c
)
headerbar: remove G_PARAM_CONSTRUCT from custom-title
author
Christian Hergert
<chergert@redhat.com>
Tue, 3 Nov 2015 22:36:54 +0000
(14:36 -0800)
committer
Christian Hergert
<chergert@redhat.com>
Tue, 3 Nov 2015 22:50:56 +0000
(14:50 -0800)
This fixes the ability to sublcass GtkHeaderBar from a UI template which
contains a custom <child type="title"> element.
https://bugzilla.gnome.org/show_bug.cgi?id=757544
gtk/gtkheaderbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkheaderbar.c
b/gtk/gtkheaderbar.c
index 53bd4d5c4c74dfb16dfd1fa4bb2c78a363898a7e..a1f060622da6461ffa7ae81bad876836be1485ee 100644
(file)
--- a/
gtk/gtkheaderbar.c
+++ b/
gtk/gtkheaderbar.c
@@
-1892,7
+1892,7
@@
gtk_header_bar_class_init (GtkHeaderBarClass *class)
P_("Custom Title"),
P_("Custom title widget to display"),
GTK_TYPE_WIDGET,
- G_PARAM_READWRITE|G_PARAM_
CONSTRUCT|G_PARAM_
STATIC_STRINGS);
+ G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS);
header_bar_props[PROP_SPACING] =
g_param_spec_int ("spacing",